export default [ //所有的菜单  之后应该会放到本地存储中
  {
    label: '基础数据',
    path: '/basicData',
    icon: 'color',
    componentName: 'BaseView',
    children: [
      {
        label: '产品信息', path: '/basicData/productInfo',
        children: [
          {
            label: '基本颜色库',
            path: '/basicData/productInfo/color'
          },
          {
            label: '基本尺码库',
            path: '/basicData/productInfo/size'
          },
          {
            label: '产品部位',
            path: '/basicData/productInfo/productParts'
          },
          {
            label: '产品类型',
            path: '/basicData/productInfo/productType'
          },
          {
            label: '基本工序库',
            path: '/basicData/productInfo/processLibrary'
          },
          {
            label: '款式管理',
            path: '/basicData/productInfo/designManage'
          }
        ]
      },
      {
        label: '工艺信息', path: '/basicData/processInfo',
        children: [
          {
            label: '款式工序库',
            path: '/basicData/processInfo/styleProcessLibrary'
          },
          {
            label: '工段',
            path: '/basicData/processInfo/section'
          },
          {
            label: '疵点',
            path: '/basicData/processInfo/defect'
          },
          {
            label: '缺料',
            path: '/basicData/processInfo/starving'
          },
          // {
          //   label: '小时计划',
          //   path: '/basicData/processInfo/hoursPlan'
          // }
        ]
      },
      {
        label: '订单信息', path: '/basicData/orderInfo',
        children: [
          {
            label: '客户管理',
            path: '/basicData/orderInfo/clientManage'
          },
          {
            label: '订单管理',
            path: '/basicData/orderInfo/orderManage'
          },
        ]
      },
      {
        label: '人员信息', path: '/basicData/personInfo',
        children: [
          {
            label: '工种信息',
            path: '/basicData/personInfo/workPro'
          }
        ]
      },
    ]
  },
  {
    label: '制单管理',
    path: '/makeManage',
    icon: 'checkbox',
    componentName: 'BaseView',
    children: [
      {
        label: '制单(生产单)管理',
        path: '/makeManage/order'
      }
    ]
  },
  {
    label: '吊挂管理',
    path: '/hangManage',
    icon: 'checkbox',
    componentName: 'BaseView',
    children: [
      {
        label: '在制品信息',
        path: '/hangManage/wipInfo'
      },
      {
        label: '产线实时信息',
        path: '/hangManage/prodTimeInfo'
      },
      {
        label: '工艺路线图',
        path: '/hangManage/routeChart'
      },
      {
        label: '产线平衡图',
        path: '/hangManage/lineBalance'
      },
      {
        label: '衣架信息',
        path: '/hangManage/hangerInfo'
      },
      {
        label: '衣架管理',
        path: '/hangManage/hangerManage'
      },
      {
        label: '衣架明细',
        path: '/hangManage/hangerDetail'
      }
    ]
  },
  {
    label: '设备管理',
    path: '/device',
    icon: 'checkbox',
    componentName: 'BaseView',
    children: [
      {
        label: '吊挂线配置',
        path: '/device/lineSet',
        children: [
          {
            label: '组别配置',
            path: '/device/lineSet/groups'
          },
          {
            label: '流水线列表',
            path: '/device/lineSet/water'
          },
          {
            label: '主轨列表',
            path: '/device/lineSet/track'
          },
          {
            label: '站点列表',
            path: '/device/lineSet/station'
          }
        ]
      },
      {
        label: '桥接配置',
        path: '/device/bridging'
      },
      {
        label: '客户机管理',
        path: '/device/client'
      },

      {
        label: '终端管理',
        path: '/device/terminal'
      },
    ]
  },
  {
    label: '系统管理',
    path: '/sysManage',
    icon: 'checkbox',
    componentName: 'BaseView',
    children: [
      {
        label: '权限管理',
        path: '/sysManage/authority',
        children: [
          {
            label: '部门组别',
            path: '/sysManage/authority/department'
          },
          {
            label: '角色管理',
            path: '/sysManage/authority/role'
          },
          {   
            label: '用户(员工)管理',
            path: '/sysManage/authority/staff'
          },
          {
            label: '职务信息',
            path: '/sysManage/authority/positionInfo'
          }
        ]
      },
      { label: '操作日志', path: '/sysManage/operateLog' }
    ]
  },
  {
    label: '生产报表',
    path: '/yieldReport',
    icon: 'checkbox',
    componentName: 'BaseView',

    children: [
      {
        label: '产量报表', path: '/yieldReport/productOutput',
        children: [
          {
            label: '产量报表-款式',
            path: '/yieldReport/productOutput/outputStyle'
          },
          {
            label: '产量报表-款式-工序',
            path: '/yieldReport/productOutput/outputStyleProcess'
          },
        ]
      },
      {
        label: '工资报表', path: '/yieldReport/salaryStaff',
        children: [
          {
            label: '工资报表-员工-款式-工序',
            path: '/yieldReport/salaryStaff/staffStyleProcess'
          },
        ]
      },
      {
        label: '返工报表', path: '/yieldReport/returnRework',
        children: [
          {
            label: '返工报表-款式-工序',
            path: '/yieldReport/returnRework/reworkStyleProcess'
          },
          {
            label: '返工报表-员工-款式-工序',
            path: '/yieldReport/returnRework/reworkStaffStyleProcess'
          },
        ]
      },
      {
        label: '其他', path: '/yieldReport/otherReport',
        children: [
          {
            label: '产量汇总报表',
            path: '/yieldReport/outputSum'
          },
          {
            label: '员工产量报表',
            path: '/yieldReport/staffYield'
          },
          {
            label: '衣架跟踪报表',
            path: '/yieldReport/hangerTrack'
          },
          {
            label: '工时分析报表',
            path: '/yieldReport/timeStudy'
          },
          {
            label: '产出明细报表',
            path: '/yieldReport/outputDetail'
          },
          {
            label: '返工明细报表',
            path: '/yieldReport/reworkDetail'
          },
          {
            label: '员工收入报表',
            path: '/yieldReport/staffIncome'
          },
          {
            label: '达成率报表',
            path: '/yieldReport/yieldRate'
          }
        ]
      },
    ]


  },
]